Skip to content

Conversation

rpanic
Copy link
Member

@rpanic rpanic commented Apr 3, 2025

Based on #297

This PR changes the module defintions for all ModuleContainers:
Previously, the API was:

AppChain.from({
   modules: { SampleModule },
   config: { SampleModules: {} }
})

However, the config option was almost never used, being deprecated for quite a while already, and therefore ending up to be unnecessary boilerplate for the module configuration.

This PR removes these options and only allows a single record to be passed in, laying out the modules.
AppChain.from({ SampleModule })

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant